&.vertical {
trough,
- progress { min-width: 2px; }
+ progress { min-width: 2px; }
}
&.horizontal progress { margin: 0 -1px; } // the progress node is positioned after the trough border
label { padding: 0; }
}
-frame.keycap {
- background-color: #fefefe;
- border: 1px solid #cecece;
+// shortcut window keys
+.keycap {
+ min-width: 20px;
+ min-height: 25px;
+ padding-bottom: 3px;
+ padding-left: 6px;
+ padding-right: 6px;
+
+ color: if($variant == 'light', $insensitive_fg_color, $fg_color);
+ background-color: $base_color;
+ border: 1px solid;
+ border-color: if($variant == 'light', mix($borders_color, $bg_color, 50%), $borders_color);
border-radius: 5px;
- box-shadow: 0px 1px 0px #fff inset,
- 0px -2px 0px #dedede inset;
- color: #555753;
- padding: 3px 8px 3px 8px;
+ box-shadow: if($variant == 'light', inset 0 -3px mix($base_color, $bg_color, 20%), inset 0 -3px mix($borders_color, $base_color, 60%));
+ font-size: smaller;
+
+ &:backdrop {
+ background-color: $backdrop_base_color;
+ color: if($variant == 'light', $backdrop_insensitive_color, $backdrop_fg_color);
+ }
+
+ border { border-style: none; }
}
*:drop(active):focus,
stackswitcher button.text-button { min-width: 100px; } // FIXME aggregate with buttons
-stackswitcher button.circular { min-width: 0px; } // FIXME aggregate with buttons
+stackswitcher button.circular,
+stackswitcher button.text-button.circular { // FIXME aggregate with buttons
+ min-width: 32px;
+ min-height: 32px;
+ padding: 0;
+}
.titlebar button.circular.titlebutton label {
padding: 0; }
-frame.keycap {
- background-color: #fefefe;
- border: 1px solid #cecece;
+.keycap {
+ min-width: 20px;
+ min-height: 25px;
+ padding-bottom: 3px;
+ padding-left: 6px;
+ padding-right: 6px;
+ color: #eeeeec;
+ background-color: #292929;
+ border: 1px solid;
+ border-color: #1c1f1f;
border-radius: 5px;
- box-shadow: 0px 1px 0px #fff inset, 0px -2px 0px #dedede inset;
- color: #555753;
- padding: 3px 8px 3px 8px; }
+ box-shadow: inset 0 -3px #212323;
+ font-size: smaller; }
+ .keycap:backdrop {
+ background-color: #2c2c2c;
+ color: #949796; }
+ .keycap border {
+ border-style: none; }
*:drop(active):focus,
*:drop(active) {
stackswitcher button.circular,
stackswitcher .titlebar button.circular.titlebutton,
-.titlebar stackswitcher button.circular.titlebutton {
- min-width: 0px; }
+.titlebar stackswitcher button.circular.titlebutton,
+stackswitcher button.text-button.circular {
+ min-width: 32px;
+ min-height: 32px;
+ padding: 0; }
/* GTK NAMED COLORS
----------------
.titlebar button.circular.titlebutton label {
padding: 0; }
-frame.keycap {
- background-color: #fefefe;
- border: 1px solid #cecece;
+.keycap {
+ min-width: 20px;
+ min-height: 25px;
+ padding-bottom: 3px;
+ padding-left: 6px;
+ padding-right: 6px;
+ color: #8b8e8f;
+ background-color: #ffffff;
+ border: 1px solid;
+ border-color: #c3c3c0;
border-radius: 5px;
- box-shadow: 0px 1px 0px #fff inset, 0px -2px 0px #dedede inset;
- color: #555753;
- padding: 3px 8px 3px 8px; }
+ box-shadow: inset 0 -3px #ededec;
+ font-size: smaller; }
+ .keycap:backdrop {
+ background-color: white;
+ color: #c3c3c0; }
+ .keycap border {
+ border-style: none; }
*:drop(active):focus,
*:drop(active) {
stackswitcher button.circular,
stackswitcher .titlebar button.circular.titlebutton,
-.titlebar stackswitcher button.circular.titlebutton {
- min-width: 0px; }
+.titlebar stackswitcher button.circular.titlebutton,
+stackswitcher button.text-button.circular {
+ min-width: 32px;
+ min-height: 32px;
+ padding: 0; }
/* GTK NAMED COLORS
----------------